package com.lanou.utp.mapper;

import com.lanou.utp.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {
    List<Student> selectStuAll(@Param("page") Integer size);

    Integer selectTotal();

    int updateStu(Student student);

    void addStudent(Student student);

    void delStudent(Integer id);

    void delStudents(@Param("ids") List<Integer> ids);

    List<Student> getStudentsByClazzId(Integer id);

    List<Student> selectAllStu();

}
